package Iterator;

public class TCLTelevision implements Television{
    private Object[] obj ={"湖南卫视","北京卫视",""};
    public TVIterator creatIterator(){
        return new TCLIterator();
    }
    class TCLIterator implements TVIterator{
        private int currentIndex = 0;
        public void next(){
            if(currentIndex<obj.length){
                currentIndex++;
            }
        }
    }
}
